package com.fzy.modules.people.service;

import com.fzy.modules.people.dao.CustomerCategoryDao;
import com.fzy.modules.people.entity.CustomerCategory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 客户分类操作
 */
@Service
public class CustomerCategoryService {
    @Autowired
    CustomerCategoryDao customerCategoryDao;
    /**
     * 查询出所有客户分类
     */
    public List<CustomerCategory> findAllList(){
        return customerCategoryDao.findAllList();
    }
}
